package com.andaily.domain.developer;

/**
 * Date: 13-8-3
 *
 * @author Shengzhao Li
 */
public enum SprintTaskStatus {

    CREATED("Created"),
    PENDING("Pending"),
    FINISHED("Finished"),
    CANCELED("Canceled");

    private String label;

    private SprintTaskStatus(String label) {
        this.label = label;
    }

    public String getValue() {
        return name();
    }

    public String getLabel() {
        return label;
    }

    public boolean isCanceled() {
        return CANCELED.equals(this);
    }
}
